//
//  LMPhone.m
//  20.私人通讯录
//
//  Created by 张青花 on 15/8/29.
//  Copyright (c) 2015年 李明. All rights reserved.
//

#import "LMPhone.h"

@implementation LMPhone


- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.username   forKey:@"username"];
    [aCoder encodeObject:self.number forKey:@"number"];
}
- (id)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        self.username = [aDecoder decodeObjectForKey:@"username"];
        self.number = [aDecoder decodeObjectForKey:@"number"];
    }
    return self;
}
@end
